#ifndef SERVER_H
#define SERVER_H

#include <QtWidgets/QWidget>

#include <QtNetwork>
#include <QAbstractSocket>
#include <QTcpSocket>

#include <QFile>
#include <QFileDialog>

#include <QDateTime>
#include <QDataStream>

QT_BEGIN_NAMESPACE
namespace Ui {
class Server;
}
QT_END_NAMESPACE

class Server : public QWidget
{
    Q_OBJECT

public:
    Server(QWidget *parent = nullptr);

    ~Server();

signals:
    void listen_download_port(unsigned short port); // 服务端下载客户端的数据
    void listen_upload_port(unsigned short port); // 服务端上传客户端的文件

private slots:


private:
    Ui::Server *ui;

};
#endif // SERVER_H
